package com.ruoyi.coupons.mapper;

import com.ruoyi.coupons.domain.MemberCoupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author a'su's
* @description 针对表【member_coupon】的数据库操作Mapper
* @createDate 2025-03-18 11:06:04
* @Entity com.ruoyi.coupons.domain.MemberCoupon
*/
public interface MemberCouponMapper extends BaseMapper<MemberCoupon> {

    public List<MemberCoupon> getList(int memberId,int couponStatus);
    public MemberCoupon getNum(int memberId);
    public MemberCoupon getMemberCoupon(MemberCoupon memberCoupon);
    public int updateNum(int mcId,int limit);
    public MemberCoupon getNumberCoupon(int memberId,int couponId);
}




